<!DOCTYPE html>
<?php
    session_start();
    if(isset($_SESSION['admin'])){
        require_once("viewmenu.php");
?>
<html lang="pt-br">
    <head>
	<meta charset="utf-8">
	<link rel="stylesheet" type="text/css" href="css/estilo-default.css"/>
	<link rel="stylesheet" type="text/css" href="css/tabelaexcluircliente.css"/>        
        <link rel="stylesheet" type="text/css" href="css/jquery-ui.css"/>
        <script type="text/javascript" src="js/jquery.js"></script>
        <script type="text/javascript" src="js/jquery-ui.js"></script>
        <script type='text/javascript' src='js/jquery.form.js'></script>
        <script type="text/javascript" src="js/jquery.validate.js"></script>
        <script type="text/javascript" src="js/util.validate.js"></script>
        <script type="text/javascript" src="js/cliente.excluir.js"></script>    
        <title>Cadastro</title>
    </head>
    <body>
        <div id='centro'>
            <p>Excluir Cliente</p>
            <fieldset>
            <form name="excluircliente" id="excluircliente" method="post" action="../control/ControleExcluirCliente.php">
                <table>
                    <tr>
                        <th id="td1">CPF</th>
                        <th id="td2">Nome</th>
                        <th id="td3">Esquadrão</th>
                    </tr>
                    <tr>
                        <td><input type="text" name="cpf" id="cpfnum" class="input-text" maxlength="11" autofocus></td>
                        <td><input type="text" name="cliente" id="cliente" class="nome" readonly/></td>
                        <td><input type="text" name="esquadrao" id="esquadrao" class="input-text" readonly></td>
                    </tr>
                </table>                
                <table>
                    <tr>
                        <th id="td4">Observação</th>
                        <th id="td5">Saldo</th>
                    </tr>
                    <tr>
                         <td><input type="text" name="observacao" id="obs" class="nome" readonly/></td>
                         <td><input type="text" name="saldo" id="saldo" class="input-text" readonly></td>
                    </tr>
                </table>  
                <input type='submit' id="excluir" name='controle' value='Remover'/>
                <button type="button" id="voltar" name='voltar' value='voltar'>Voltar</button>
           </form>
           </fieldset>     
        </div>
    </body>
</html>
<?php
    }else{
        header("Location: index.php");
    }
?>